package com.jshcbd.modules.asset.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;

/**
 * @author zhoucd
 * @date
 * @description
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel( description = "资产处置")
public class DisposeVo extends AssetVo implements Serializable {


    public DisposeVo(){
    }


    public DisposeVo(AssetVo assetVo){
        BeanUtils.copyProperties(assetVo,this);
    }


    @ApiModelProperty(value = "联系电话")
    private String disPhone;

    @ApiModelProperty(value = "联系人")
    private String disContacts;

    @ApiModelProperty(value = "处置状态(1：报废/2：出售)")
    private Integer disType;

    @ApiModelProperty(value = "资产处置照片")
    private String disPhoto;

    @ApiModelProperty(value = "备注")
    private String disNote;

}
